package com.knowvoyage.knowvoyageserver.mapper;

import com.knowvoyage.knowvoyageserver.pojo.entity.Dialog;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface DialogMapper {
    void insert(Dialog dialog);
    void deleteById(Long dialogId);
    void update(Dialog dialog);
    Dialog selectById(Long dialogId);
    List<Dialog> selectByUserId(Long userId);
    List<Dialog> selectAll();
}